home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 262.lha / RexxMathLib_v1.0>1.3 / rexxmathlib.doc < prev    next >
Text File  |  1989-07-03  |  3KB  |  70 lines

  1.  
  2.     With this release:
  3.     ==================
  4.  
  5.     This version is recompiled and relinked for use with the AmigaDOS
  6. 1.3 IEEE math libraries. How do you keep the various versions apart?
  7. The size of the one for 1.3 is 7012 bytes. The previous release was some
  8. 13900 bytes, whereas the special release for the StarBoard II's 68881 was
  9. 8152 bytes. Which one to use? If you have AmigaDOS 1.3, use the one that's
  10. 7012 bytes long. If you have 1.2 or (heaven forbid) 1.1, use the 13900 byte
  11. one. If you have 1.2 and a StarBoard II, AND a 68881 in its multifunction
  12. module, use the special one after renaming it to rexxmathlib.library.
  13.     This archive *only* includes the 7012 byte one. It can only be used
  14. with the 1.3 IEEE math libraries.
  15.  
  16.     Willy Langeveld, 31 January, 5 April 1989.
  17.  
  18.     Documentation for the AmigaREXX math library, version 1.0.
  19.     ==========================================================
  20.  
  21.     In version 1 of the AmigaREXX math library the following functions
  22. have been implemented. In column 1 you will find the function, in column 2
  23. the calling sequence, and in column 3 some aliases. Column 4 has the allowed
  24. ranges of the arguments that will not cause an error.
  25.     The regular library is called rexxmathlib.library: it should work on
  26. all Amigas. However, if you own a StarBoard II memory expansion with a 
  27. Multi-Function Module plus 68881 math coprocessor, you can speed up your
  28. REXX math by using the library rexxmathsbii.library instead. You will then 
  29. also need the MicroBotics supplied IEEE libraries.
  30.  
  31.     Willy Langeveld.
  32.  
  33.  
  34.  
  35. Function        Call. Seq.    Alias(es)    Requires
  36. ----------------------------------------------------------------------------
  37. Absolute value        abs(x)        fabs
  38. Inverse cosine        acos(x)                -1.0 <= x <= 1.0
  39. Inverse hyperbolic cos    acosh(x)            x >= 1.0
  40. Inverse sine        asin(x)                -1.0 <= x <= 1.0
  41. Inverse hyperbolic sin    asinh(x)
  42. Inverse tangent        atan(x)
  43. Inverse hyp. tangent    atanh(x)            -1.0 < x < 1.0
  44. Inv. tangent y/x    atan(y,x)            y != 0.0, x != 0.0
  45. Lowest integer above x    ceil(x)
  46. Cosine            cos(x)
  47. Hyperbolic cosine    cosh(x)
  48. Cotangent        cot(x)        cotan
  49. Cotangent        cotan(x)    cot
  50. Cosecans        csc(x)
  51. e to the power x    exp(x)
  52. Absolute value        fabs(x)        abs
  53. Factorial        fact(x)                x >= 0, x < 171
  54. Highest integer below x    floor(x)    int
  55. Highest integer below x    int(x)        floor
  56. Log base e        ln(x)        log        x > 0.0
  57. Log base e        log(x)        ln        x > 0.0
  58. Log base 10        log10(x)            x > 0.0
  59. Nearest integer to x    nint(x)
  60. x to the power y    pow(x,y)    power, xtoy    x >= 0.0
  61. x to the power y    power(x,y)    pow, xtoy    x >= 0.0
  62. Secans            sec(x)
  63. Sine            sin(x)
  64. Hyperbolic sine        sinh(x)
  65. Square root        sqrt(x)                x >= 0.0
  66. Tangent            tan(x)
  67. Hyperbolic tangent    tanh(x)
  68. x to the power y    xtoy(x,y)    pow, power    x >= 0.0
  69.  
  70.